package com.zb.nio.path;

import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * @author: zhaobin
 * @date: 2024/2/24 17:15
 * @Description:
 */
public class PathDemo1 {

    public static void main(String[] args) {
        // windows系统
        Path path1 = Paths.get("d:\\01.txt");

        // Linux、MacOS系统
        Path path2 = Paths.get("/home/jakobjenkov/myfile.txt");
    }
}
